package com.codepilot.server.model.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Favor {
    Integer id;
    @ApiModelProperty(value = "用户 ID", required = false, example = "3", hidden = true)
    Integer userId;
    @ApiModelProperty(value = "题目 ID", required = true, example = "1")
    Integer problemUid;
    @ApiModelProperty(value = "开始时间", required = false, hidden = true)
    Date createTime;
    @ApiModelProperty(value = "更新时间", required = false, hidden = true)
    Date updateTime;
    @ApiModelProperty(value = "备注", required = true, example = "我好喜欢这道题呀[旺柴]")
    String remark;
    @ApiModelProperty(value = "伪删除标记", required = false, hidden = true)
    Boolean deleted;
}